package com.hnas.sys.orm;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Entity
@Table(name="sys_attachment"

)
public class Attachment extends ID{
	 @Column(name="user_File_Name", length=250)
	private String userFileName;
	 @Column(name="file_Name", length=50)
	 private String fileName;//年月日时分秒+3位序号
	 @Column(name="path_Name", length=100)
	 private String realPathName;//
//	 private String url;
	 private String postfix;
	 @Column(name="content_Type", length=50)
	 private String contentType;
	 private long size;
	 @Column(name="auth_Code")
	 private int authCode;
	public int getAuthCode() {
		return authCode;
	}
	public void setAuthCode(int authCode) {
		this.authCode = authCode;
	}
	public String getUserFileName() {
		return userFileName;
	}
	public void setUserFileName(String userFileName) {
		this.userFileName = userFileName;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getPostfix() {
		return postfix;
	}
	public void setPostfix(String postfix) {
		this.postfix = postfix;
	}
	public String getContentType() {
		return contentType;
	}
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}
	public long getSize() {
		return size;
	}
	public void setSize(long size) {
		this.size = size;
	}
	public String getRealPathName() {
		return realPathName;
	}
	public void setRealPathName(String realPathName) {
		this.realPathName = realPathName;
	}
}
